package cn.wolfcode.crm.domain;


import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;


/**
 * 字典目录表
 */
@Getter
@Setter
public class SystemDictionary {
    private Long id;
    //编码
    private String sn;
    //标题
    private String title;
    //简介
    private String intro;

    public String getJson() {
        HashMap map = new HashMap();
        map.put("id", this.id);
        map.put("sn", this.sn);
        map.put("title", this.title);
        map.put("intro", this.intro);
        String jsonString = JSON.toJSONString(map);
        return jsonString;
    }
}